package com.songlanyun.modules.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.article.entity.ArticleContent;
import com.songlanyun.modules.article.model.dto.ArticleDTO;

import java.util.Map;

/**
 * 文章内容表
 *
 * @author wuchao
 * @email sunlightcs@gmail.com
 * @date 2021-02-27 15:36:01
 */
public interface ArticleContentService extends IService<ArticleContent> {

    PageUtils queryPage(Map<String, Object> params);

    void saveContent(Long aid, ArticleDTO dto);

    void updateContent(Long aid, ArticleDTO dto);

    ArticleContent getByAid(Long aid);

    void removeByAid(Long aid);
}

